package com.zhongyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongyu.pojo.Order;
import com.zhongyu.vo.OrderVo;
import com.zhongyu.vo.PageResult;

import java.time.LocalDateTime;
import java.util.List;

public interface OrderService  extends IService<Order> {
    List<Order> searchAll();
    void update(String state, LocalDateTime purchaseTime, Integer id);
    PageResult searchAll(Integer pageNo, Integer pageSize, OrderVo orderVo);
    PageResult searchSal(Integer pageNo, Integer pageSize, OrderVo orderVo);
}
